package org.jiuling.aliyun.config.spring.config;

import org.jiuling.aliyun.config.AliYunConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 阿里云配置SpringBean配置
 * @author 紫灵
 * @date 2024年06月22日 17时20分41秒
 */
@Configuration
public class AliYunConfigSpringBeanConfig {

    @Bean
    @ConfigurationProperties(prefix = "jiu-ling.aliyun")
    public AliYunConfig aliYunConfig(){
        return new AliYunConfig();
    }

}
